<html>
<head><meta charset="utf-8"><title>async vision -- new character: tony the thread user · wg-async-foundations · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/index.html">wg-async-foundations</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html">async vision -- new character: tony the thread user</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="231028430"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async%20vision%20--%20new%20character%3A%20tony%20the%20thread%20user/near/231028430" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Andrew Chin (eminence) <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html#231028430">(Mar 19 2021 at 14:12)</a>:</h4>
<p>Hi all, after reading about the current Cast Of Characters, I'm wondering if there's room for another character.  working name:  Tony the thread user</p>
<p>This character is based heavily on my own personal experiences.  </p>
<p>Tony is an experienced developer (using rust and other languages), and is most comfortable using OS threads for any asynchronous or concurrent programming tasks.  In particular, he likes using rust for this, as the Send/Sync types plus the built-in channels and mutexes make it very easy to write correct concurrent code.  <br>
This is working well for Tony, but Tony is wondering if there are any advantages to switching to an "async" programming model.  Would writing in async be more efficient or elegant, or make is easier to integrate with 3rd party async libraries?  In general, code readability and maintenance are more important to Tony than runtime performance.</p>
<p>This character is most closely aligned with the already existing character of Barbara (except that Tony doesn't have the async experience that Barbara does)</p>
<p>The types of projects that Tony might work on are things like:  an interactive application that needs to wait for input from a user's keyboard, wait for events from the network, wait for timers, etc (all of which can happen concurrently)</p>



<a name="231028820"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async%20vision%20--%20new%20character%3A%20tony%20the%20thread%20user/near/231028820" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Frederik Baetens <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html#231028820">(Mar 19 2021 at 14:15)</a>:</h4>
<p>My story also wasn't compatible with Barbara already having async experience, but I just ended up writing my story as if it took place when Barbara was first getting started with async.</p>



<a name="231029740"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async%20vision%20--%20new%20character%3A%20tony%20the%20thread%20user/near/231029740" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Andrew Chin (eminence) <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html#231029740">(Mar 19 2021 at 14:21)</a>:</h4>
<p>Ah, good thought.  Perhaps I should have attached my comment to your PR</p>



<a name="231030881"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async%20vision%20--%20new%20character%3A%20tony%20the%20thread%20user/near/231030881" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html#231030881">(Mar 19 2021 at 14:28)</a>:</h4>
<p>We can start with Barbara and go from there. This could be interesting for this as well: <a href="https://github.com/rust-lang/wg-async-foundations/issues/58">https://github.com/rust-lang/wg-async-foundations/issues/58</a></p>



<a name="231056399"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async%20vision%20--%20new%20character%3A%20tony%20the%20thread%20user/near/231056399" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html#231056399">(Mar 19 2021 at 17:04)</a>:</h4>
<p><span class="user-mention" data-user-id="222286">@Andrew Chin</span> in <a href="https://github.com/rust-lang/wg-async-foundations/issues/58#issuecomment-802881393">this comment</a>, I proposed adding some 'non-async projects' (and adding a FAQ about how Shiny Future ideas affect them)</p>



<a name="231056465"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async%20vision%20--%20new%20character%3A%20tony%20the%20thread%20user/near/231056465" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html#231056465">(Mar 19 2021 at 17:04)</a>:</h4>
<p>the characters are not about what people are building, they're about the languages people know and the experiences they bring to bear</p>



<a name="231057059"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async%20vision%20--%20new%20character%3A%20tony%20the%20thread%20user/near/231057059" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Andrew Chin (eminence) <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html#231057059">(Mar 19 2021 at 17:08)</a>:</h4>
<p>Indeed.  I didn't mean for this hypothetic new character to be defined by their projects.  I was defining this "Tony" character has someone who has experiences with thread-based concurrent processing, but don't know if/how to transition to async for concurrent processing.    As @rylev and <span class="user-mention" data-user-id="398861">@Frederik Baetens</span> have said, perhaps this character is simply a variation on Barbara</p>



<a name="231057288"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async%20vision%20--%20new%20character%3A%20tony%20the%20thread%20user/near/231057288" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html#231057288">(Mar 19 2021 at 17:10)</a>:</h4>
<p>Yeah, I think that's ok</p>



<a name="231057295"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async%20vision%20--%20new%20character%3A%20tony%20the%20thread%20user/near/231057295" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.20vision.20--.20new.20character.3A.20tony.20the.20thread.20user.html#231057295">(Mar 19 2021 at 17:10)</a>:</h4>
<p>Let's try it anyway</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>